package patterns.actions.iterator.books;


public class Client {
 
	public static void main(String[] args) {
		Aggregate agg=new AggregateImp();
		agg.add(1);
		agg.add("t");
		agg.add(true);
		
		IteratorCls itr=agg.createIterator();
		while(itr.hasNext()){
			System.out.println(itr.next());
		}
		
	}

}
